package com.atguigu.gmall.product.client;

import com.atguigu.gmall.product.client.model.product.*;
import org.springframework.stereotype.Component;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;
@Component  //查询失败 降级处理
public class DegradeProductFeignClient implements ProductFeignClient {
    @Override
    public BaseCategoryView getBaseCategoryView(Long category3Id) {

        //处理降级内容
        return null;
    }

    @Override
    public SkuInfo getSkuInfo(Long skuId) {
        return null;
    }

    @Override
    public BigDecimal getPrice(Long skuId) {
        return null;
    }

    @Override
    public List<SpuSaleAttr> getSaleAttrAndValueAndChecked(Long skuId, Long spuId) {
        return null;
    }

    @Override
    public Map<String, String> getSkuValueIdsMap(Long spuId) {
        return null;
    }

    @Override
    public List<BaseCategoryView> getBaseCategoryViewList() {
        return null;
    }

    @Override
    public BaseTrademark getBaseTrademark(Long tmId) {
        return null;
    }

    @Override
    public List<SkuAttrValue> getSkuAttrValue(Long skuId) {
        return null;
    }
}
